package com.pmsystem.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Accident {
    private Integer accidentId;

    private String accidentTitle;

    private String accidentContent;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date accidentTime;

    private String processing;

    private String result;

    private String recorder;

    private String recorderTelephone;

    private Byte enable;

    public Integer getAccidentId() {
        return accidentId;
    }

    public void setAccidentId(Integer accidentId) {
        this.accidentId = accidentId;
    }

    public String getAccidentTitle() {
        return accidentTitle;
    }

    public void setAccidentTitle(String accidentTitle) {
        this.accidentTitle = accidentTitle == null ? null : accidentTitle.trim();
    }

    public String getAccidentContent() {
        return accidentContent;
    }

    public void setAccidentContent(String accidentContent) {
        this.accidentContent = accidentContent == null ? null : accidentContent.trim();
    }

    public Date getAccidentTime() {
        return accidentTime;
    }

    public void setAccidentTime(Date accidentTime) {
        this.accidentTime = accidentTime;
    }

    public String getProcessing() {
        return processing;
    }

    public void setProcessing(String processing) {
        this.processing = processing == null ? null : processing.trim();
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result == null ? null : result.trim();
    }

    public String getRecorder() {
        return recorder;
    }

    public void setRecorder(String recorder) {
        this.recorder = recorder == null ? null : recorder.trim();
    }

    public String getRecorderTelephone() {
        return recorderTelephone;
    }

    public void setRecorderTelephone(String recorderTelephone) {
        this.recorderTelephone = recorderTelephone == null ? null : recorderTelephone.trim();
    }

    public Byte getEnable() {
        return enable;
    }

    public void setEnable(Byte enable) {
        this.enable = enable;
    }
}